package com.bl.weilan.service.biz.user;

import com.bl.weilan.dao.model.EmployeeEntity;
import com.bl.weilan.dao.model.TagEntity;
import com.bl.weilan.dao.redis.model.UserInfo;
import com.bl.weilan.service.vo.DelBody;
import com.bl.weilan.service.vo.DelListBody;
import com.bl.weilan.service.vo.user.*;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by yujingyi on 2018/1/15.
 */
public interface UserService {

    EmployeeEntity getUserById(String userId);

    EmployeeEntity getUserByMobile(String mobile);

    void createUser(EmployeeEntity userEntity);

    void modifyUser(UserInfoModifyVo userInfoModifyVo, UserInfo userInfo);


    EmployeeEntity getUserByInviteCode(String inviteCode);

    List<TagEntity> getUserTag(String userId);

    void del(DelBody id);

    void delList(DelListBody idList);

    void modify(UserInfoManageModifyVo goodsModVo);

    UserListVo getUserListMulti(String id,String mobile,String name,String status, Pageable pageable);

}
